﻿using DataBase;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DemoCode
{
    public partial class 数据库char空格 : Form
    {
        public 数据库char空格()
        {
            InitializeComponent();
        }

        private void DataBase_Char_Load(object sender, EventArgs e)
        {
            try
            {
                TestDataBase db = new TestDataBase();
            var d = db.Char_Test.First();
            this.Controls.Add(new TextBox()
            {
                Text = d.Name
            });
            }
            catch (Exception)
            {
                
                throw;
            }
        }
    }
}
